rm
{base}
Remove objects
filter
{dplyr}
Filter out rows of a data frame according to logical vector
ordered
{dplyr}
Create an ordered factor
order
{base}
Get indexes that will sort a vector
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
str
{utils}
Get the structure of an R object
head
{utils}
Show first 5 rows of a data frame
group_tt
{tinytable}
Grouping in tinytable
log
{base}
log (default base = e)
rnorm
{base}
Generate random numbers from a normal distribution
pnorm
{base}
Returns the cumulative distribution function (CDF) of the normal distribution
seq
{base}
Create a sequence
bar
{base}
Used for annotations, such as “expression(paste(”-“,bar(y)))”
sample
{base}
Takes a sample of the specified size
nrow
{base}
Get number of rows of a data frame
as.data.frame
{base}
Functions to check if an object is a data frame, or coerce it if possible.
is.na
{base}
Check if a value is NA/elements of vector are NA
predict
{stats}
Predict Probability
library
{base}
Load an R package
expression
{base}
Used in plots to add symbols to axes
max
{base}
Get maximum of a vector
names
{base}
Retrieve names of a list/vector
range
{base}
Return range of values
complete.cases
{stats}
Find Complete Cases
ungroup
{dplyr}
Resolve grouping created with “group_by”
mean
{base}
Get mean of a vector
binomial
{base}
Family argument in glm()
list
{base}
Create a list object
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
summary
{base}
Obtain summary statistics or detailed regression output
factor
{base}
Create a factor
min
{base}
Get minimum of a vector
quantile
{stats}
Obtain empirical quantiles of a vector
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
as.character
{base}
Coerce a vector to character
cut
{base}
Convert Numeric to Factor
mutate
{dplyr}
Modify/create a column in a data frame
length
{base}
Returns number of elements in an object
lm
{base}
Fit a linear model
plot
{graphics}
Generic function from base R to produce a plot
read_excel
{readxl}
Read an Excel file
setwd
{base}
Set Working Directory
glm
{base}
Fits generalized linear models
c
{base}
Combine values/vectors into a vector
par
{graphics}
Set parameters of the plotting device
nobs
{gdata}
Compute the number of non-missing observations
dnorm
{stats}
Density distribution for the normal distribution
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
which
{base}
return indexes of TRUE entries of a logical vector
sd
{stats}
Get standard deviation of a vector
median
{stats}
Get median of a vector
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
tibble
{tibble}
A modern data frame from the tidyverse
data.frame
{base}
Create a data.frame from vectors
var
{stats}
Calculate variance
ifelse
{base}
Return a or b depending on the value of test
modelsummary
{modelsummary}
Creates regression and data tables
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
The end!